package com.lau.base.extend;

/**
 * Created by liutf on 2016/7/21.
 */
public class AryaStark extends EddardStark {



    public void say(String word){
        System.out.println("Arya say: " + word);
    }


    public  void honor(){
        System.out.println(super.lastName);
        System.out.println("Winter is coming ..");
    }


    public static void main(String[] args) {

//        EddardStark.honor();

        AryaStark arya = new AryaStark();
        arya.say("this is arya..");
        arya.honor();
    }

}


